<?php
namespace app\index\controller;

use think\Db;

class Workitem extends Base
{
  public function index()
  {
    $input = input('wid');
    $work = Db::name('work')->where('id','=',$input)->find();
    $this->assign('work',$work);
    return view();
  }

}
?>